﻿using System;
using System.Runtime.Serialization;

namespace NCMIS.ObjectModel.MetaData
{
    /// <summary>
    /// Represents a permission name and description.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public class PermissionDefinition
    {
        /// <summary>
        /// The permission name.
        /// </summary>
        [DataMember(Name = "permission")]
        public string Permission
        {
            get;
            set;
        }

        /// <summary>
        /// Permission description.
        /// </summary>
        [DataMember(Name = "description")]
        public string Description
        {
            get;
            set;
        }
    }
}
